-
-
Notifications
You must be signed in to change notification settings - Fork 389
Progress reporting improvements #1784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b3ba386
to
793be94
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see a few updates to the test - are these fixing race conditions that this patch showed up?
This code is way clearer!
I fixed a bunch of tests in the previous version of this PR and decided to preserve the fixes. Not necessarily race conditions: often tests rely on sketchy invariants, e.g. a test that waits for three logging notifications before checking if the build session is restarted is going to break for reasons unrelated to the property it's checking. |
7c40949
to
7fc92b1
Compare
7fc92b1
to
3850495
Compare
Rework of #1770. Summary of changes:
window/workDoneProgress/create
by waiting until the client has respondedtodo
is 0) and handling whenNoProgress
I think this is the best we can do to close #1749 while sharing the same logic for both tests and app code